#ifndef STYLE_BUILDER_HPP_
#	define STYLE_BUILDER_HPP_

#	include "Style.hpp"


class StyleBuilder : public Style
{
	public:
	
		StyleBuilder();
		~StyleBuilder();
		
		void setPiecePixmap(Chess::Color color, Piece::Type ptype, Style::PieceHighlight highlight, QPixmap* pixmap);
		void setCellPixmap(Chess::Color color, Style::CellHighlight highlight, QPixmap* pixmap);
		void setBackgroundPixmap(QPixmap* pixmap);
		
		void saveStyleFile(string filename);
		void loadStyleFile(string filename);
	
	private:
		void openStyleFile();
		void closeStyleFile();
		
		FILE* fp;
};

#endif
